<a href='https://github.com/angular/angular.js/edit/v1.4.x/docs/content/error/$cacheFactory/iid.ngdoc?message=docs(error%2Fiid)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>


<h1>Error: $cacheFactory:iid
  <div><span class='hint'>Invalid ID</span></div>
</h1>

<div>
    <pre class="minerr-errmsg" error-display="CacheId '{0}' is already taken!">CacheId '{0}' is already taken!</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p>This error occurs when trying to create a new <code>cache</code> object via <a href="api/ng/service/$cacheFactory"><code>$cacheFactory</code></a> with an ID that was already used to create another cache object.</p>
<p>To resolve the error please use a different cache ID when calling <code>$cacheFactory</code>.</p>

</div>


